<!--# layout("/common/layout.html",{"jsBase":"/js/cms/entry/"}){ -->

<form class="layui-form " id="updateForm">
    <!--# include("commonedit.html",{"basic":entry}){} -->
	<!-- 业务对象须有hidden字段，保存delFlag和version字段-->
	<input type="hidden" name="delFlag" value=${entry.delFlag} />
    <input type="hidden" name="id" value=${entry.id} />
    <layui:personnelsubmitButtons id="updateButton" />
</form>
<!--#} -->
<script>
layui.use(['edit'], function(){
    var entryEdit = layui.edit
    entryEdit.init();

    var form = layui.form;
    form.on('select(workstationName)', function (data) {
        $("#companyId").val(data.value);
        $("#entryUnit").val($("#workingEnterprise option:selected").text())
    });
});
</script>
